package Controllers;

import Entities.Scactbnivel;
import Facades.ScactbnivelFacade;
import java.io.Serializable;
import javax.annotation.PostConstruct;
import javax.ejb.EJB;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;

@ManagedBean(name = "scactbnivelController")
@ViewScoped
public class ScactbnivelController extends AbstractController<Scactbnivel> implements Serializable {

    @EJB
    private ScactbnivelFacade ejbFacade;

    public ScactbnivelController() {
        super(Scactbnivel.class);
    }

    @PostConstruct
    public void init() {
        super.setFacade(ejbFacade);
    }
}
